// @ts-ignore
/* eslint-disable */
import request from '@/utils/request.ts'

/** 此处后端没有提供注释 POST /video/getSummary */
export async function getSummary(body: Record<string, any>, options?: { [key: string]: any }) {
  return request<Record<string, any>>('/video/getSummary', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** 此处后端没有提供注释 POST /video/summarize */
export async function summarizeVideo(body: Record<string, any>, options?: { [key: string]: any }) {
  return request<Record<string, any>>('/video/summarize', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}
